import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';
import 'package:sonora/models/sj_block_list_item_data.dart';
import 'package:sonora/models/sj_broad_caster_data.dart';
import 'package:sonora/models/sj_friend_list_item_data.dart';
import 'package:sonora/models/sj_works_model.dart';

part 'sj_home_state.freezed.dart';

@freezed
class SjHomeState extends SjBaseState with _$SjHomeState {
  const factory SjHomeState({
    @Default(false) bool initial,
    @Default(false) bool loading,
    @Default(null) List<SjBroadCasterData>? wallList,
    @Default(null) List<SjBroadCasterData>? randomWallList,
    @Default(null) List<SjWorksModel>? worksList,
    @Default(null) List<SjBlockListItemData>? blokList,
    @Default(null) List<SjFriendListItemData>? friendList,
  }) = _SjHomeState;
}